from django.urls import path
from . import views

app_name = 'Chat'

urlpatterns = [
    path('', views.room_list, name='room_list'),
    path('create/', views.create_room, name='create_room'),
    path('<int:room_id>/', views.chat_room, name='chat_room'),
    path('<int:room_id>/delete/', views.delete_room, name='delete_room'),
    path('<int:room_id>/manage/', views.manage_room, name='manage_room'),
    path('<int:room_id>/leave/', views.leave_room, name='leave_room'),
    path('<int:user_id>/<int:room_id>/block/', views.remove_block_user, name='block_user'),
]